<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	request.setCharacterEncoding("utf-8");
   
%>
  <%
  String xm = this.getServletContext().getInitParameter("path");
	String path1 = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/"+xm;
%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>万达营销流程管理系统</title>
<base target="_self" />

<link href="<%=path1%>/qt/css/css.css"
	rel="stylesheet" type="text/css" />
<script src="<%=path1%>/qt/Scripts/My97DatePicker/WdatePicker.js"
	type="text/javascript"></script>
<script src="<%=path1%>/qt/Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="<%=path1%>/qt/Scripts/IndexManager.js" type="text/javascript"></script>

<script type="text/javascript">
	function MM_jumpMenu(targ, selObj, restore) { //v3.0
		eval(targ + ".location='" + selObj.options[selObj.selectedIndex].value
				+ "'");
		if (restore)
			selObj.selectedIndex = 0;
	}
</script>
<!-- 
  wd_role里存放的是角色
  wd_user存放的是用户信息与角色id（角色人物的信息）
  wd_menu存放的是菜单
  role_menu存放的是用户菜单的id、用户id（第三张表用户和菜单）
 -->
<script type="text/javascript">
   function shenhe(){
	   window.location.href="<%=path1%>/ht/report/selectAll";
   }
</script>

</head>
<body>
	<div class="yboxwidth boxcenter">
		<div class="ybox09">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td class="ybox10td1"><a href="#"><img
							src="<%=path1%>/qt/images/op8_1.gif"
							width="28" height="54" /></a></td>
					<td><table border="0" cellspacing="0" cellpadding="0">
							<tr valign="top">
								<td class="ybox11td1"></td>
								<td class="ybox11td2"><a
									href="<%=path1%>/qt/addOpening_Report.jsp">1、填写基本信息</a></td>
								<td class="ybox11td3"></td>
								<td class="ybox11td2"><a
									href="javascript:window.history.go(-4)">2、选择房间</a></td>
								<td class="ybox11td3"></td>

								<td class="ybox11td2"><a
									href="javascript:window.history.go(-3)">3、导入价格</a></td>
								<td class="ybox11td3"></td>

								<td class="ybox11td2"><a
									href="javascript:window.history.go(-2)">4、引入折扣方案</a></td>
								<td class="ybox11td3"></td>

								<td class="ybox11td2"><a
									href="javascript:window.history.go(-1);">5、引入付款方式</a></td>
								<td class="ybox11td8"></td>
								<td class="ybox11td6"><a href="<%=path1%>/qt/yuLan.jsp">6、预览并提交</a></td>
								<td class="ybox11td9"></td>
							</tr>
						</table></td>
					<td class="ybox10td1"><a href="#"><img
							src="<%=path1%>/qt/images/op8_2.gif"
							width="28" height="54" /></a></td>
				</tr>
			</table>
		</div>

		<table width="100%" border="0" cellspacing="0" cellpadding="0"
			class="margb4">
			<tr>
				<td class="ybox03td1"></td>
				<td class="ybox03td2"></td>
				<td class="ybox03td3"></td>
			</tr>
			<tr>
				<td class="ybox03td4"></td>
				<td class="ybox03td5"><div class="ybox05 margb8"></div>
					<table width="100%" border="0" cellpadding="0" cellspacing="1"
						class="ybox04table">
						<tr>
							<td width="15%" class="ybox04tdl"><span class="red">*</span>
								项目名称</td>
							<td width="18%" class="ybox04tdr"><input name="project_id"
								readonly="readonly" class="black12" id="project_id"
								value="${opens.projects.project_name }" style="width: 90%;"></select></td>
							<td width="15%" class="ybox04tdl"><span class="red">*</span>
								报告名称</td>
							<td width="18%" class="ybox04tdr"><input readonly="readonly"
								name="opening_report_name" id="opening_report_name"
								value="${opens.opening_report_name }"
								onblur="opening_report_names();" /></td>
							<td width="15%" class="ybox04tdl"><span class="red">*</span>
								报告类型</td>
							<td width="19%" class="ybox04tdr"><input name="report_type"
								readonly="readonly" class="black12" id="report_type"
								value="${opens.report_type }" onblur="report_types()"
								style="width: 90%;" /></td>
						</tr>
						<tr>
							<td class="ybox04tdl"><span class="red">*</span> 开盘日期</td>
							<td class="ybox04tdr"><input readonly="readonly"
								name="opening_report_time" id="opening_report_time"
								value="${opens.opening_report_time}"
								onblur="opening_report_times()" /></td>
							<td class="ybox04tdl">状态</td>
							<td class="ybox04tdr"><input readonly="readonly"
								value="${opens.state}" name="state" id="state" /></td>
							<td class="ybox04tdl">计价方式</td>
							<td class="ybox04tdr"><input readonly="readonly"
								name="price_type" class="black12" id="price_type"
								value="${opens.price_type }" /></td>
						</tr>

						<tr>
							<td class="ybox04tdl"><span class="red">*</span> 综合折扣率(%)</td>
							<td class="ybox04tdr"><input readonly="readonly"
								name="discount" id="discount" value="92.00"></td>
							<td class="ybox04tdl"><span class="red">*</span> 特例折扣比例(%)</td>
							<td class="ybox04tdr"><input readonly="readonly" name=""
								id="" value="0.2"></td>
							<td class="ybox04tdl">支付方式</td>
							<td class="ybox04tdr"><input readonly="readonly"
								name="textfield" class="black12" id="textfield" value="${opens.pays.pay_type_name }" /></td>
						</tr>
						<td class="ybox04tdl">项目下的房间房号</td>
						<c:forEach items="${aa}" var="a">

							<td class="ybox04tdr">${a.room_code}</td>

						</c:forEach>
						<tr>
							<td class="ybox04tdl"><span class="red">*</span> 蓄客情况分析</td>
							<td colspan="5" class="ybox04tdr"><textarea name="xuke"
									readonly="readonly" rows="3" class="black12" id="xuke"
									onblur="xukes()" style="width: 99.5%;">${opens.xuke}</textarea></td>
						</tr>
						<tr>
							<td class="ybox04tdl"><span class="red">*</span> 定金收取方案</td>
							<td colspan="5" class="ybox04tdr"><textarea name="dingjin"
									readonly="readonly" rows="3" class="black12" id="dingjin"
									onblur="dingjins()" style="width: 99.5%;"> ${opens.dingjin }</textarea></td>
						</tr>
						<tr>
							<td class="ybox04tdl"><span class="red">*</span> 开盘报告说明</td>
							<td colspan="5" class="ybox04tdr"><textarea
									name="opening_report_description" rows="3" class="black12"
									readonly="readonly" id="opening_report_description"
									onblur="opening_report_descriptions();" style="width: 99.5%;"> ${opens.opening_report_description}</textarea></td>
						</tr>
					</table></td>
				<td class="ybox03td6"></td>
			</tr>
			<tr>
				<td class="ybox03td7"></td>
				<td class="ybox03td8"></td>
				<td class="ybox03td9"></td>
			</tr>
		</table>
		<table width="380" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="60" align="center"><a
					onclick="shenhe();"><img
						src="<%=path1%>/qt/images/bottoncommit.gif"
						width="95" height="34" /></a></td>
			</tr>

		</table>
	</div>
	</div>
</body>
</html>

